package entity;

import java.io.Serializable;

public class redisToSaveCodeInformation implements Serializable {
    private int state;
    private Object information;

    public redisToSaveCodeInformation() {
    }

    public redisToSaveCodeInformation(int state, Object information) {
        this.state = state;
        this.information = information;
    }

    /**
     * 获取
     * @return state
     */
    public int getState() {
        return state;
    }

    /**
     * 设置
     * @param state
     */
    public void setState(int state) {
        this.state = state;
    }

    /**
     * 获取
     * @return information
     */
    public Object getInformation() {
        return information;
    }

    /**
     * 设置
     * @param information
     */
    public void setInformation(Object information) {
        this.information = information;
    }

    public String toString() {
        return "redisToSaveCodeInformation{state = " + state + ", information = " + information + "}";
    }
}
